/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dao.intf;

import entities.VO;
import java.util.Collection;

/**
 *
 * @author Valentina
 */
public interface DAO {
    /**
     * Create method
     * Insert dates into the table
     */
    public Long create(VO valueObject);
    
    /**
     * Delete method
     * Delete all dates from the table, depends by id
     */
    public Boolean delete(Long id);
    
    /**
     * Update method
     * Update all dates from the table
     */
    public Boolean update(VO valueObject);
    
    /**
     * Retrieve method
     * Find all dates from the table, depends by id
     */
    public VO retrieve(Long id);
    
    /**
     * Retrieve method
     * Find all dates from the table
     */
    public Collection<? extends VO> retrieve();
    
    
}